package com.coder.service;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)  
@ContextConfiguration({"file:WebContent/WEB-INF/applicationContext.xml"})  
public class WaveServiceTest {
	
    @Resource
    private WaveService waveService;
    
    @Test
    public void testSaveInitWaveDB(){
    	waveService.saveInitWaveDB();
    }

	public WaveService getWaveService() {
		return waveService;
	}

	public void setWaveService(WaveService waveService) {
		this.waveService = waveService;
	}
    
}
